#ifndef WDOG_H
#define WDOG_H

#include <QDialog>
#include <QtGui>
#include <QLineEdit>
#include "ycapi.h"
namespace Ui {
    class WDog;
}

class WDog : public QDialog {
    Q_OBJECT
public:
    WDog(QWidget *parent = 0);
    ~WDog();
    void SetMainBacklight();
    Ycapi *ycapi;
    QTimer *wdttimer;
    int wdtRun;
protected:
    void changeEvent(QEvent *e);

private:
    Ui::WDog *ui;


private slots:

    void on_wdtTimerUpdate();
    void on_close_clicked();
    void on_start_clicked();
    void on_stop_clicked();
};

#endif // WDOG_H
